
#ifndef __PLAYER_H__
#define __PLAYER_H__

#include "OpenGL/glm-0.9.1.1/glm.hpp"
#include "OpenGL/glm-0.9.1.1/gtc/matrix_transform.hpp"

#include "SmurfsEntity.h"
#include "SmurfsSphere.h"
#include "SmurfsPrimitiveFactory.h"
#include "SmurfsTimer.h"

class Player : public Entity {
public:
	Player(Sphere* ballBody, Mesh* ballMesh);	// constructor
	~Player();	// destructor

	void move(Vector3 moveVector);	// moves the sphere by the vector input
	void update(void);				// updates the player each frame for delta time

private:
	float moveSpeed;	// the speed at which the ball moves
	//float rotateSpeed;
	Timer timer;		// timer for calculating delta time
	float deltaTime;
};

#endif